package com.contact;

import java.util.List;

import android.content.Context;
import android.os.Bundle;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
import com.google.android.maps.Overlay;

public class Map extends MapActivity {
	MapView mapView;
	MapController mapController;
	Context mapContext;
	List<Overlay> overlay;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.map);

		mapView = (MapView) findViewById(R.id.mapview);
		mapView.setClickable(true);
		mapView.setBuiltInZoomControls(true);

		mapController = mapView.getController();
		GeoPoint point = new GeoPoint(35681396, 139766049);
		mapController.setCenter(point);
		mapController.setZoom(15);

		mapContext = mapView.getContext();
		overlay = mapView.getOverlays();
	}

	@Override
	protected boolean isRouteDisplayed() {
		// TODO Auto-generated method stub
		return false;
	}

}
